// JmeshclientPpg.cpp : Implementation of the CJmeshclientPropPage property page class.

#include "stdafx.h"
#include "jmeshclient.h"
#include "JmeshclientPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CJmeshclientPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CJmeshclientPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CJmeshclientPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CJmeshclientPropPage, "JMESHCLIENT.JmeshclientPropPage.1",
	0x8dc277f0, 0xc742, 0x44ba, 0xaa, 0x3c, 0xb7, 0xe7, 0x32, 0x5f, 0x2c, 0xee)


/////////////////////////////////////////////////////////////////////////////
// CJmeshclientPropPage::CJmeshclientPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CJmeshclientPropPage

BOOL CJmeshclientPropPage::CJmeshclientPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_JMESHCLIENT_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CJmeshclientPropPage::CJmeshclientPropPage - Constructor

CJmeshclientPropPage::CJmeshclientPropPage() :
	COlePropertyPage(IDD, IDS_JMESHCLIENT_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CJmeshclientPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CJmeshclientPropPage::DoDataExchange - Moves data between page and properties

void CJmeshclientPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CJmeshclientPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CJmeshclientPropPage message handlers
